Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StFwdQAMaker for optional QA of fwd systems and tracking #694

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

jdbrice
Copy link
Contributor

@jdbrice jdbrice commented Jun 28, 2024

In PR #571 I removed the TTree generation that was previously baked into the StFwdTrackMaker.
This separates that functionality into a separate maker, and lays a foundation for additional QA histograms based on the full FWD tracking + matching for offline QA

Note, this depends on some changes in PR #571 - so build may fail until that is merged

@jdbrice jdbrice requested review from akioogawa and genevb June 28, 2024 21:49
Copy link
Contributor

@genevb genevb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit foggy on what I see in these two files: there are a lot of persistent classes here.... tracks and clusters that will be written to files? And all of these are distinct from the persistent track and cluster classes for StEvent/MuDst/PicoDst? Clarification on this strategy would be appreciated, and my apologies if I missed the explanation for this elsewhere.

@jdbrice
Copy link
Contributor Author

jdbrice commented Jul 29, 2024

@genevb I did not even think to reuse the MuDst io containers, but that is obviously the best thing. I removed all of the custom classes (except where some additional info is needed) and reworked it.

I have a student working on integrating a handful of histograms for offline QA - will follow as a small additional PR.

Note: These trees replace the previous trees produced in the StFwdTrackMaker - they provide compact trees for offline studies, fwd event visualization, and some development oriented checks while things are still changing (i.e. initial analysis tests).

Copy link
Contributor

@genevb genevb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not spotting anything to object to.

StRoot/StFwdTrackMaker/StFwdQAMaker.cxx Show resolved Hide resolved
@@ -33,6 +31,7 @@ class ObjExporter {
int p, s, i, j;
float x, y, z, out;
int nPitch = nLongitude + 1;
const float DEGS_TO_RAD = 3.14159f/180.0f;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to change this, but, FYI, I tried compiling this class with DEGS_TO_RAD = TMath::DegToRad() and it compiled, so somewhere amidst all the included dependencies, TMath.h is already included :-) I'm sure the compiler optimizes this calculation away such that it isn't done at run-time.

@jdbrice jdbrice merged commit eba182d into star-bnl:main Jul 30, 2024
148 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants